<!DOCTYPE html>
<html>
<%include html-head%>

<body>
	<div data-role="dialog" id="addGroupDlg">

		<div data-role="header" data-theme="a">
			<h1><%=title%></h1>
		</div>

		<div role="main" class="ui-content">
			<form class="ui-body ui-body-a ui-corner-all" id="groupForm">
				<div class="ui-field-contain">
					<label for="textinput-id">Task ID:</label> <input
						type="text" name="textinput-id" id="textinput-id"
						readonly="readonly" placeholder="Task ID" value="<%=taskId%>"
						required>
				</div>
				<div class="ui-field-contain">
					<label for="textinput-gtype">Group Type:</label> <input
						type="text" name="textinput-gtype" id="textinput-gtype"
						readonly="readonly" placeholder="Group Type" value="<%=type%>"
						required>
				</div>								
				<div class="ui-field-contain">
					<label for="textinput-groupid">Group ID:</label> <input
						type="text" name="textinput-groupid" id="textinput-groupid"
						placeholder="Group ID" value="<%=groupId%>"
						required>
				</div>
				
				<div class="ui-field-contain">
					<label for="textinput-tindex">Index:</label> <input
						type="text" name="textinput-tindex" id="textinput-tindex"
						placeholder="Group index" value="<%=tindex%>"
						required>
				</div>
				
				<input type='submit' data-role="button" data-theme="b" id="submit"
					value="Upload group"></input>
			</form>
			<a href="#" data-role="button" data-rel="back" data-theme="a">Back to task manager page</a>
		</div>
		<script type="text/javascript" src="owjs/wTaskAddGroup.js"></script>
	</div>
</body>
</html>